#ifndef POWERMANAGER_H
#define POWERMANAGER_H

#include <qglobal.h>

class PowerManager
{
public:
    /**
     * @brief restart 重启
     * @return 命令执行结果
     */
    static bool restart();

    /**
     * @brief shutdown 关机
     * @return 命令执行结果
     */
    static bool shutdown();

private:
    PowerManager();
    Q_DISABLE_COPY(PowerManager)
};

#endif // POWERMANAGER_H
